package cn.edu.xust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 
 * 
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2024-03-30 17:15:52
 */
@Data
@TableName("wtdata")
public class WtdataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 
	 */
	private Integer gatewayid;
	/**
	 * 
	 */
	private Integer deviceid;
	/**
	 * 当前累计流量
	 */
	private String currentcumulativeflow;
	/**
	 * 结算日累计流量
	 */
	private String accumulatedtrafficday;
	/**
	 * 实时时间
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String codetime;
	/**
	 * 水表代码表示的状态
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)

	private String timetype;
	private String timetypeflag;
	private String codestate;

	private String devicename;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date ctime;

}
